package com.yb.domain.goods;

import java.util.Date;

import com.yb.base.annotation.Table;
import com.yb.base.entity.BaseEntity;
import com.yb.util.comm.DateTimeUtil;

/**
 * TgCase entity.
 * 
 * @author MyEclipse Persistence Tools
 */
@Table("t_g_case")
public class TgCase extends BaseEntity implements java.io.Serializable {

	private Long brandId;
	private String title;
	private String imgSrc;
	private String content;
	private Date createTime;

	public Date getCreateTime() {
		return createTime;
	}
	
	public String getCreatTimStr() {
		if(null != createTime){
			return DateTimeUtil.getDateToString(createTime, "yyyy-MM-dd kk:mm:ss");
		}
		return "";
	}


	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getBrandId() {
		return this.brandId;
	}

	public void setBrandId(Long brandId) {
		this.brandId = brandId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getImgSrc() {
		return imgSrc;
	}

	public void setImgSrc(String imgSrc) {
		this.imgSrc = imgSrc;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

}